package com.sample.tdf.domain;

import cn.com.taiji.common.base.BaseDomain;
import cn.com.taiji.common.base.BaseTreeDomain;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@NoArgsConstructor
@Entity
@Table(name = "organization")
@Where(clause = "flag=1")
public class Organization extends BaseTreeDomain {
    private static final long serialVersionUID = 7578292815543449813L;
    private String orgName;
}
